package com.feilong.edgeAI.request;


import com.aiibt.common.bean.Result;

import java.util.List;

import io.reactivex.Observable;
import okhttp3.MultipartBody;
import retrofit2.http.Body;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.POST;
import retrofit2.http.Query;

public interface IMainRequest {


    /**
     * 升级App内测
     */
    @GET("upload/android/feilongxin/last/version")
    Observable<Result> appLastVersionTest(@Query("key") int id);
    /**
     * 升级App
     */
    @GET("upload/android/feilongxin/last/version")
    Observable<Result> appLastVersion();
    /**
     * 升级理解XXZ内测
     */
    @GET("upload/android/feilongma/last/version")
    Observable<Result> xxzLastVersion(@Query("key") int id);
    /**
     * 升级理解XXZ
     */
    @GET("upload/android/feilongma/last/version")
    Observable<Result> xxzLastVersion();
    /**
     *请求在线大模型
     */
    @GET("pp/talk")
    Observable<Result> talk(@Query("key") String key,@Query("userid") String userid,@Query("action") String action);
    /**
     *授权
     */
    @POST("api/oauth/v1.0/flm/token")
    Observable<Result> oauth(@Query("device_identifier") String device_identifier,@Query("device_batch") String device_batch,@Query("device_name") String device_name);
}
